@extends('layouts.layout')

@section('title', '修改用户密码')

@section('CONTENT')
    <div class="box box-primary">
        <div class="box-header with-border">
            <h3 class="box-title">修改<lable style="color:red;">{{ $user->name }}</lable>密码</h3>
        </div>
        <!-- /.box-header -->
        <!-- form start -->

        <form role="form" method="post">
            <div class="box-body">
                {{ csrf_field() }}
                {{ method_field('PUT') }}

                <div class="form-group">
                    <label for="password">新密码</label>
                    <input type="password" name="password" value="{{ old('password') }}" class="form-control" id="password" placeholder="请输入新密码">
                </div>

                <div class="form-group">
                    <label for="password_confirmation">确认新密码</label>
                    <input type="password" name="password_confirmation" value="{{ old('password_confirmation') }}" class="form-control" id="password_confirmation" placeholder="请确认您的新密码">
                </div>

                <div class="box-footer">
                    <button type="submit" class="btn btn-primary">保存</button>
                    <button type="button" onclick="javascript:window.history.back()" class="btn btn-default">返回</button>
                </div>
            </div>
        </form>

@endsection